package com.it.stone_manage.dao;

import com.it.stone_manage.model.SearchData;
import com.it.stone_manage.model.StoneRecord;
import com.it.stone_manage.model.StoneType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StoneRecordDao {

    List<StoneRecord> searchRecordData(SearchData searchData);

    Integer searchTotal(SearchData searchData);

    void updateRecordData(StoneRecord stoneRecord);

    StoneRecord findRecord(StoneRecord stoneRecord);

    void saveRecordData(StoneRecord stoneRecord);

    void deleteRecordData(StoneRecord stoneRecord);

    StoneType checkData(StoneRecord stoneRecord);

    void saveBatchData(List<StoneRecord> list);
}
